/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.citi.dahg.cve.controller.service.local;

import com.citi.dahg.cve.controller.model.Area;
import com.citi.dahg.cve.controller.model.Pais;
import com.citi.dahg.cve.controller.model.Recurso;
import com.citi.dahg.cve.controller.service.Service;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author dh90940
 */
@Local
public interface AreaService extends Service<Area>{
    
    List<Pais> getAllPaises();
    List<Area> getAreaByPais(Pais p);
    Area getAreaByPaisAndDescripction(Pais pais, String description);
    List<Recurso> getSupervisores(Area area);
    List<Recurso> getSubalternos(Recurso supervisor);
    Area findByName(String nombre);
}
